-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve performance and memory for validation by caching XML Schema / DTD #572
Conversation
It works with simple case but a lot of tests are failed. It's definitely more hard than I though. I must work on again on this issue... |
...4xml/src/main/java/org/eclipse/lsp4xml/extensions/contentmodel/model/FileChangedTracker.java
Outdated
Show resolved
Hide resolved
.../org/eclipse/lsp4xml/extensions/contentmodel/participants/diagnostics/LSPXMLGrammarPool.java
Show resolved
Hide resolved
.../org/eclipse/lsp4xml/extensions/contentmodel/participants/diagnostics/LSPXMLGrammarPool.java
Outdated
Show resolved
Hide resolved
.../org/eclipse/lsp4xml/extensions/contentmodel/participants/diagnostics/LSPXMLGrammarPool.java
Outdated
Show resolved
Hide resolved
.../org/eclipse/lsp4xml/extensions/contentmodel/participants/diagnostics/LSPXMLGrammarPool.java
Outdated
Show resolved
Hide resolved
4720cd2
to
36ef1cf
Compare
After fighting with Xerces, I think (I hope) I have a cleaner implementation for validation cache. @fbricon please restart your review I have modified a lot of thing. @xorye @fbricon please play with this PR. We have a lot of tests but please test those following usecases:
|
0b08f85
to
63c4751
Compare
.../org/eclipse/lsp4xml/extensions/contentmodel/participants/diagnostics/LSPXMLGrammarPool.java
Outdated
Show resolved
Hide resolved
org.eclipse.lsp4xml/src/main/java/org/eclipse/lsp4xml/extensions/xsd/utils/XSDUtils.java
Show resolved
Hide resolved
...ml/src/test/java/org/eclipse/lsp4xml/extensions/contentmodel/XMLValidationPoolCacheTest.java
Outdated
Show resolved
Hide resolved
63c4751
to
d72a2d9
Compare
e88c43e
to
012f1b4
Compare
Fixes #534 Signed-off-by: azerr <[email protected]>
Fixes #534
Signed-off-by: azerr [email protected]